package com.xy.webadmin.excel.constant;

/**
 * Excel模块常量类
 */
public class ExcelConstant {
    /**
     * 文件扩展名
     */
    public static final String EXCEL_EXTENSION_XLSX = ".xlsx";
    public static final String EXCEL_EXTENSION_XLS = ".xls";
    
    /**
     * 目录名
     */
    public static final String ERROR_EXCEL_DIR = "errorExcel";
    
    /**
     * 默认忽略字段
     */
    public static final String FIELD_CREATE_TIME = "createTime";
    public static final String FIELD_UPDATE_TIME = "updateTime";
    public static final String FIELD_CREATE_USER_ID = "createUserId";
    public static final String FIELD_UPDATE_USER_ID = "updateUserId";
    
    /**
     * 特殊处理字段
     */
    public static final String FIELD_DEPT_ID = "deptId";
    public static final String FIELD_COMPANY_ID = "companyId";
    
    /**
     * 错误消息前缀
     */
    public static final String ERROR_PREFIX_PROGRAM = "程序错误:::";
    public static final String ERROR_PREFIX_DATA_MISSING = "数据缺失:::";
    
    /**
     * 日期格式
     */
    public static final String DATE_FORMAT_PATTERN = "yyyy_MM_dd_HH_mm_ss";
    
    /**
     * Excel相关
     */
    public static final String EXCEL_SHEET_NAME = "Sheet1";
} 